package com.yanmaohu.nikita.data.expression;

/**
 * @author Bright Lee
 */
public final class ParenthesizedExpression extends Expression {

    private final Expression expression;

    public ParenthesizedExpression(int beginIndex, int endIndex, Expression expression) {
        super(beginIndex, endIndex);
        this.expression = expression;
    }

    public Expression getExpression() {
        return expression;
    }

}
